package com.css.dzj.dzjap.modules.lawenforcesuper.service;

import com.css.dzj.dzjap.common.util.R;
import com.css.dzj.dzjap.modules.info.entity.ApExpertEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.ApSupersiveExpertInfoEntity;
import com.css.dzj.dzjap.modules.lawenforcesuper.entity.DrawExpertRelationErpertEntity;
import com.css.dzj.dzjap.modules.publick.entity.ApPublicEntity;
import com.querydsl.core.QueryResults;
import org.springframework.data.domain.Pageable;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * 全覆盖抽取service
 * @author limanman
 */
public interface AllSuperviseService {

    R saveAllSupersive(List<ApSupersiveExpertInfoEntity> list, HttpServletRequest request);

    List<ApSupersiveExpertInfoEntity> queryAllSupersiveOnly(String recordId);

    QueryResults<DrawExpertRelationErpertEntity> queryExpertRelationInfoAll(Pageable pageable,  String recordId);

    QueryResults<ApExpertEntity> queryExpertByIdAll(Pageable pageable,  String recordId);

    String saveSupersiveNotice(ApPublicEntity apPublicEntity,HttpServletRequest request);

}
